flag.FlagSet.args (field)
18 uses
flag (current package)
flag.go#L401: args []string // arguments after flags
flag.go#L721: if i < 0 || i >= len(f.args) {
flag.go#L724: return f.args[i]
flag.go#L735: func (f *FlagSet) NArg() int { return len(f.args) }
flag.go#L738: func NArg() int { return len(CommandLine.args) }
flag.go#L741: func (f *FlagSet) Args() []string { return f.args }
flag.go#L744: func Args() []string { return CommandLine.args }
flag.go#L1076: if len(f.args) == 0 {
flag.go#L1079: s := f.args[0]
flag.go#L1087: f.args = f.args[1:]
flag.go#L1097: f.args = f.args[1:]
flag.go#L1130: if !hasValue && len(f.args) > 0 {
flag.go#L1133: value, f.args = f.args[0], f.args[1:]
flag.go#L1155: f.args = arguments
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |